home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group95b.txt
/
000049_icon-group-sender _Sat Jun 17 17:06:58 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-09-18
|
1KB
Received: by cheltenham.cs.arizona.edu; Mon, 19 Jun 1995 09:01:50 MST
To: icon-group@cs.arizona.edu
Date: Sat, 17 Jun 1995 17:06:58 GMT
From: john@nmt.edu (John Shipman)
Message-Id: <1995Jun17.170658.29531@nmt.edu>
Organization: Zoological Data Processing
Sender: icon-group-request@cs.arizona.edu
References: <3rpcmd$ie0@canopus.cc.umanitoba.ca>, <3rqsq6$g9s@lectura.CS.Arizona.EDU>
Subject: &null as a general-purpose identity
Errors-To: icon-group-errors@cs.arizona.edu
Scott E Gilbert <scott@CS.Arizona.EDU> wrote:
+--
| Personally, I'd like to see the &null value act as a general purpose
| identity for all of the operators except when used as a procedure call. For
| example:
|
| 1 + &null -> 1
| 1 * &null -> 0
| 'abc' ++ &null -> 'abc'
| "foo" || &null -> "foo"
| [1,2,3] ||| &null -> [1,2,3]
| &null(1, 2, 3) -> Obscure Runtime Error: 169
+--
Only if it's an option, and preferably not the standard option.
I catch a lot of bugs with its current behavior.
--
John Shipman (js@cs.nmt.edu)
``Let's go outside and commiserate with nature.'' --Dave Farber